package com.haiyangwang1.lesson12.ex1;

import java.util.Scanner;

public class Choose {
    Scanner input=new Scanner(System.in);
    public String choose(){
        Computer c=new Computer();
        System.out.println("电脑的名字：1.鸣人 2.悟空 3.路飞");
        int choose=input.nextInt();
        switch (choose){
            case 1:
                System.out.println("鸣人");
                break;
            case 2:
                System.out.println("悟空");
                break;
            case 3:
                System.out.println("路飞");
                break;
        }
        return "";
    }

}
